//
//  BVOrderDetailMessageCell.m
//  BuyVegetable
//
//  Created by zhuzi on 16/10/15.
//  Copyright © 2016年 com.yinding. All rights reserved.
//

#import "BVOrderDetailMessageCell.h"

@implementation BVOrderDetailMessageCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
-(id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        _titelLabel = [[UILabel alloc]init];
        _titelLabel.font = [UIFont systemFontOfSize:15];
        _titelLabel.textColor = [UIColor BVTextGrayColor];
        [self.contentView addSubview:_titelLabel];
        _titelLabel.sd_layout.topSpaceToView(self.contentView,0).leftSpaceToView(self.contentView,10).bottomSpaceToView(self.contentView,0).widthIs(80);
        
        _detailLabel = [[UILabel alloc]init];
        _detailLabel.font = [UIFont systemFontOfSize:15];
        _detailLabel.textColor = [UIColor BVTextGrayColor];
        [self.contentView addSubview:_detailLabel];
        _detailLabel.sd_layout.topSpaceToView(self.contentView,0).leftSpaceToView(_titelLabel,0).rightSpaceToView(self.contentView,0).bottomSpaceToView(self.contentView,0);
    }
    return self;
}
@end
